<template>
    <div style="margin-top: 200px;display: flex;justify-content: center;align-items: center;font-size: 38px;">
        <p><span style="margin-right: 10px;color: red;">{{ sysUserName }}</span>欢迎来到鸿福后台管理系统</p>
    </div>
</template>

<script type="text/ecmascript-6">
    export default {
        data() {
            return {
	            sysUserName: ''
            }
        },
        methods: {
	        g() {
		        let user = localStorage.getItem('userName');
		        if(user) {
			        this.sysUserName = user
		        }
	        }
        },
	    mounted() {
        	this.g()
        }
    }
</script>

<style scoped>

</style>
